package com.joysuch.wwyt.bp.repository;

import com.joysuch.wwyt.bp.entity.risk.BpTeamSafeDevice;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface BpTeamSafeDeviceRepository extends JpaRepository<BpTeamSafeDevice, Long> {


    void deleteByTeamId(Long id);

    List<BpTeamSafeDevice> findByTeamId(Long teamId);
}
